package com.scy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scy.entity.User;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface UserService {

    public List<User> findAll();
    public boolean addUser(User user);
    public boolean delUser(Long id);
    public boolean updateUser(User user);
    public User findUserById(Integer id);
    public IPage<User> getUserPage( Integer pageSize, Integer pageNum);
    public User check(User user);
    User findUser(String account, String pwd);
}
